<?php defined('BASEPATH') OR exit('No direct script access allowed');
require APPPATH.'/libraries/REST_Controller.php';

class city extends REST_Controller
{     
	function get_all_get()
	{
		$this->load->model('citydao');
		$success = $this->citydao->get_all();
		$this->response(array('city'=>$success,'status'=> $success ? 'true' : 'false'), 200);
	}
}
?>